package com.naughty.userlogin02.dao;

import com.naughty.userlogin02.bean.WxUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WxUserDao {

    public List<WxUser> getAllWxUser(@Param("userNickName") String userNickName, @Param("pageStart") int pageStart, @Param("pageSize") int pageSize);

    public int getWxUserCounts(@Param("userNickName") String userNickName);
//    public String deleteWxUser(@Param("openid") String openid);

    public int addWxUser(WxUser wxUser);

    public int updateScore(String openid,Integer score);



}
